package com.dyh.dao;

import  com.dyh.po.farmer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface farmerDao {
    public List<farmer> findAllFarmer(@Param("keyword") String keyword);
    public Boolean addFarmer(farmer farmer);
    public Boolean deleteFarmer(String familyId);
    public Boolean editFarmer(farmer farmer);
    public farmer findFarmerById(String familyId);
}
